package com.accp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wyk
 * @since 2019-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PsFunction extends Model<PsFunction> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("functionCode")
    private String functionCode;

    @TableField("functionName")
    private String functionName;

    @TableField("creationTime")
    private LocalDateTime creationTime;

    @TableField("createdBY")
    private String createdBY;

    @TableField("lastUpdateTime")
    private LocalDateTime lastUpdateTime;

    @TableField("funcURL")
    private String funcURL;

    /**
     * 1为启用0为不启用
     */
    @TableField("issTart")
    private Integer issTart;

    @TableField("parentId")
    private Integer parentId;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
